<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>后台管理-<{$sys['title']}></title>
<link rel="stylesheet" href="/static/vendor/layui/css/layui.css">
<link rel="stylesheet" href="/static/admin/css/style.css">
<script src="/static/vendor/jquery.js"></script>
</head>
<body>
<div class="layui-layout layui-layout-admin">
  <div class="layui-header my-header">
    <div class="layui-logo"><a href="/" style="color:#ccc"> <{$sys['title']}>|<span style="color:#fff;">后台管理</a></span>
        <div class="my-header-btn">
            <button class="layui-btn layui-btn-small btn-nav"><i class="layui-icon"></i></button>
        </div>
    </div>
    <ul class="layui-nav layui-layout-left" lay-filter="side-top-left">
      <!-- <li class="layui-nav-item"><a href="<{$front}>" target="_blank">前台页面</a></li> -->
      <!--
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="">邮件管理</a></dd>
        </dl>
      </li>
      -->
    </ul>
    <ul class="layui-nav layui-layout-right" lay-filter="side-top-left">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="<{:pic($userinfo['avatar'])}>" class="layui-nav-img">
          <{$userinfo['username']}>
        </a>
        <dl class="layui-nav-child">
          <dd><a href="javascript:;" href-url="<{:url('auser/editself')}>">修改资料</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="<{:url('publics/logout')}>">退了</a></li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black my-side">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree" lay-filter="side-top-left">
          <{volist name="menu" id="v"}>
        <li class="layui-nav-item <{if $key=='控制版面'}>layui-nav-itemed<{/if}>">
          <a href="javascript:;"><{$key}></a>
          <dl class="layui-nav-child">
						<{volist name='v' id="val"}>
							<{if $key=='欢迎页面'}>
              <dd class="layui-this"><a href="javascript:$('#wellcome').click()" ><{$key}></a></dd>
              <{else}>
              <dd><a href="javascript:;" href-url="<{$val}>"><{$key}></a></dd>
              <{/if}>
            <{/volist}>
          </dl>
        </li>
          <{/volist}>
          <!--
        <li class="layui-nav-item layui-nav-itemed">
          <a href="javascript:;">控制版面</a>
          <dl class="layui-nav-child">
            <dd class="layui-this"><a href="javascript:$('#wellcome').click()">欢迎页面</a></dd>
            <dd><a href="javascript:;" href-url="<{:url('auser/editself')}>">修改资料</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">系统设置</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;" href-url="<{:url('auser/lists')}>">用户管理</a></dd>
            <dd><a href="javascript:;" href-url="<{:url('department.lists')}>">部门管理</a></dd>
            <dd><a href="javascript:;" href-url="<{:url('power.lists')}>">权限管理</a></dd>
            <dd><a href="javascript:;" href-url="<{:url('sys.lists')}>">配置管理</a></dd>
          </dl>
        </li>
        -->
      </ul>
    </div>
  </div>

    <!-- body -->
    <div class="layui-body my-body">
        <div class="layui-tab layui-tab-card my-tab" lay-filter="card" lay-allowClose="true">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="1" id="wellcome"><span><i class="layui-icon">&#xe638;</i>欢迎页</span></li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe id="iframe" src="<{:url('auser/wellcome')}>" frameborder="0"></iframe>
                </div>
            </div>
        </div>
    </div>

  <div class="layui-footer">
    <!-- 底部固定区域 -->
      <{$sys['right']}>
  </div>
</div>
<script src="/static/vendor/layui/layui.all.js"></script>
<script src="/static/vendor/function.js"></script>
<script src="/static/admin/js/vip_comm.js"></script>
</body>
</html>
